package com.usian.apis.article;

import com.usian.model.article.pojos.ApArticle;
import com.usian.model.article.pojos.ApAuthor;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PathVariable;

@Api(value = "作者管理", tags = "author", description = "作者管理API")
public interface AuthorControllerApi {
    public ApAuthor findById(@PathVariable("id") Integer id);

    ApAuthor findByUserId(Integer id);

    boolean save(ApAuthor apAuthor);

    public ApAuthor findByName(@PathVariable("id") String name);
}
